package com.example.echarts.controller;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.example.echarts.entity.AsiangameCountInfo;
import com.example.echarts.service.IAsiangameCountInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author xiaowei
 * @since 2022-05-04
 */
@RestController
@RequestMapping("/asiangameCountInfo")
public class AsiangameCountInfoController {
    @Autowired
    IAsiangameCountInfoService iAsiangameCountInfoService;
    @RequestMapping("getall")
    public List<AsiangameCountInfo> getall()
    {
        List<AsiangameCountInfo> asiangameCountInfos=iAsiangameCountInfoService.getBaseMapper().selectList(Wrappers.lambdaQuery());
        return asiangameCountInfos;
    }

}

